docs: Use gtk_widget_get_preferred_size() instead gtk_size_request_get_preferred_size()
authorJavier Jardón <jjardon@gnome.org>
Sun, 3 Oct 2010 01:41:44 +0000 (03:41 +0200)
committerJavier Jardón <jjardon@gnome.org>
Sun, 3 Oct 2010 01:42:31 +0000 (03:42 +0200)
GtkSizeRequest interface is now merged in GtkWidget

docs/reference/gtk/tmpl/gtkcontainer.sgml
docs/reference/gtk/tmpl/gtkfilechooserbutton.sgml
gtk/gtk.symbols
gtk/gtkwidget.c
gtk/gtkwindow.c

index 3d0f2fb9e31dfa2f38159bfbcf103fc1d184601f..69c5f6fca04ca4eb4dbf9e45ca01cb72f51cb630 100644 (file)
@@ -58,7 +58,7 @@ of their children.
 <para>
 The size requisition phase of the widget layout process operates top-down.
 It starts at a top-level widget, typically a #GtkWindow. The top-level widget
-asks its child for its size requisition by calling gtk_size_request_get_preferred_size().
+asks its child for its size requisition by calling gtk_widget_get_preferred_size().
 To determine its requisition, the child asks its own children for their
 requisitions and so on. Finally, the top-level widget will get a requisition
 back from its child.
index f50edf41a4fb18cbe8307b6552d6140b66e02063..844a1bbfdcbfe8c7d61a28229ac1d4c7a1270c2d 100644 (file)
@@ -37,7 +37,7 @@ The #GtkFileChooserButton supports the #GtkFileChooserAction<!--
 <para>
 The #GtkFileChooserButton will ellipsize the label,
 and thus will thus request little horizontal space.  To give the button
-more space, you should call gtk_size_request_get_preferred_size(),
+more space, you should call gtk_widget_get_preferred_size(),
 gtk_file_chooser_button_set_width_chars(), or pack the button in
 such a way that other interface elements give space to the widget.
 </para>
index c2963d096fc7fe49630da3aef15c2db2f686f6ac..c24c073ebec8a775f8412fc16276a885d3af9acd 100644 (file)
@@ -370,7 +370,6 @@ gtk_scroll_type_get_type G_GNUC_CONST
 gtk_selection_mode_get_type G_GNUC_CONST
 gtk_shadow_type_get_type G_GNUC_CONST
 gtk_size_group_mode_get_type G_GNUC_CONST
-gtk_size_request_mode_get_type G_GNUC_CONST
 gtk_sort_type_get_type G_GNUC_CONST
 gtk_spin_type_get_type G_GNUC_CONST
 gtk_state_type_get_type G_GNUC_CONST
index e97c62417a1a689745262e3e3ce0b16bd498814c..bd404f6db1124f386e93298ecee31e636577d5f4 100644 (file)
@@ -8653,7 +8653,7 @@ gtk_widget_set_size_request (GtkWidget *widget,
  * @height indicates that that dimension has not been set explicitly
  * and the natural requisition of the widget will be used intead. See
  * gtk_widget_set_size_request(). To get the size a widget will
- * actually request, call gtk_size_request_get_preferred_size() instead of
+ * actually request, call gtk_widget_get_preferred_size() instead of
  * this function.
  **/
 void
index c2c787b1bc70403759b104e50059d0564ebc8172..54b82546c81a3e896eb872086d4112824704ddee 100644 (file)
@@ -6503,7 +6503,7 @@ gtk_window_constrain_size (GtkWindow   *window,
 
 /* Compute the set of geometry hints and flags for a window
  * based on the application set geometry, and requisition
- * of the window. gtk_size_request_get_preferred_size() must have been
+ * of the window. gtk_widget_get_preferred_size() must have been
  * called first.
  */
 static void